<div class="container">


<form action="<?=base_url('main/search_result')?>" method="POST" class="form-inline" role="form">
    <div class="form-group">
        <label class="sr-only" for="search_word">label</label>
        <input type="text" class="form-control" id="search_word" name="keyword">
    </div>

    <button type="submit" class="btn btn-primary">Submit</button>
</form>



<hr/>


<?php


var_dump($keyword);

?>
















</div>